Skip to content

[Zend]: Remove unused code in MAKE_NOP macro #10906

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 22, 2023
Merged

[Zend]: Remove unused code in MAKE_NOP macro #10906

merged 1 commit into from
Mar 22, 2023

Conversation

stkeke
Copy link
Contributor

@stkeke stkeke commented Mar 22, 2023

Prefer to see clean code.

In MAKE_NOP macro, op.num is first set to 0, but immediately set to -1 by SET_UNUSED macro, which invalidates previous set-to-zero code.

So clean the code to make it look nice and neat.

Prefer to see clean code.

In MAKE_NOP macro, op.num is first set to 0, but immediately set to
-1 by SET_UNUSED macro, which invalidates previous set-to-zero code.

So clean the code to make it look nice and neat.

Signed-off-by: Tony Su <tao.su@intel.com>
@stkeke stkeke requested a review from iluuu1994 as a code owner March 22, 2023 03:11
@iluuu1994 iluuu1994 merged commit 7eee0d1 into php:master Mar 22, 2023
@iluuu1994
Copy link
Member

Thanks @stkeke!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants